﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BaMusaSoft.RPS.RPSServices
{
    public class ServiceCompletedEventArgs : EventArgs
    {
        public ServiceCompletedEventArgs(CompletionResult result)
            : this(result, null, null)
        {

        }
        public ServiceCompletedEventArgs(CompletionResult result, Exception exception)
            : this(result, exception, null)
        {
        }
        public ServiceCompletedEventArgs(CompletionResult result, object data)
            : this(result, null, data)
        {
        }
        public ServiceCompletedEventArgs(CompletionResult result, Exception exception, object data)
        {
            this.Result = result;
            this.Exception = exception;
            this.Data = data;
        }
        public CompletionResult Result { get; private set; }

        public Exception Exception { get; private set; }
        public object Data { get; private set; }
    }
}
